import Vue from 'vue'

import VueRouter from 'vue-router'
Vue.use(VueRouter)
// 导入自己的router.js
import router from './router.js'

//  导入vue-resource 
import vueResource from 'vue-resource'
Vue.use(vueResource)

import app from './app.vue'
//  按需导入mint-ui
import {  Header,Swipe, SwipeItem } from 'mint-ui'
Vue.component(Header .name,Header )
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
import './node_modules/mint-ui/lib/style.min.css'

// 导入mui
import './lib/MUI/css/mui.css'
import './lib/MUI/css/icons-extra.css'

var vm=new Vue({
    el:'#yichen',
    render:c=>c(app),
    router
})